﻿using _10.装修模式.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _10.装修模式
{
    internal class Client
    {
        public void Start()
        {
            Baby baby = new Baby() { Name = "张三" };
            //baby.Invoke();

            Child child = new Child(baby);
            //child.Invoke();

            Boy boy = new Boy(child);
            boy.Invoke();
        }
    }
}
